#include <iostream>

using namespace std;

int main()
{
    int a,b;
    cin>>a>>b;
  //  float c=a+b*0.1;
  //  cout<<(int)(c/1.9);
    int c=a*10+b;
    cout<<c/19;
    return 0;
}
